/**
 * com.qicai Inc.
 * Copyright (c) 2016-2026 All Rights Reserved.
 */
package ${packageName};

import java.io.Serializable;
/**
 * ${tablecomment}
 * @author  ${author}
 * @version ${className}DTO.java, v 0.1 ${date?datetime}
 */
public class ${className}DTO implements java.io.Serializable{

        private Long id;

	<#list records as rec>
	/**${rec.comment}*/
	private ${rec.type}  ${rec.property};
	
	</#list>
        private Integer page = 1;

        private Integer pageCount = 20;

        public Long getId() {
            return id;
        }

        public void setId(Long id) {
            this.id = id;
        }

        public Integer getPage() {
            return page;
        }

        public void setPage(Integer page) {
            this.page = page;
        }

        public Integer getPageCount() {
            return pageCount;
        }

        public void setPageCount(Integer pageCount) {
            this.pageCount = pageCount;
        }
	
	<#list records as rec> 
	
	 /**
     * Setter method for property <tt>${rec.property}</tt>.
     * 
     * @param ${rec.property} value to be assigned to property ${rec.property}
     */
	public void set${rec.property?cap_first}(${rec.type} ${rec.property}) {
		this.${rec.property} = ${rec.property};
	}
	
	 /**
     * Getter method for property <tt>${rec.property}</tt>.
     * 
     * @return ${rec.property} value of ${rec.property}
     */
	public ${rec.type} get${rec.property?cap_first}() {
		return this.${rec.property};
	}
	</#list>
}